package org.aksw.xoperator.xoperatorwebconfig.client;

import org.aksw.xoperator.conf.AgentConfiguration;
import org.aksw.xoperator.sparql.RemoteSparqlEndpointConfiguration;
import org.aksw.xoperator.xmpp.JabberAccount;
import org.aksw.xoperator.xmpp.JabberClientConfiguration;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface AgentConfigServiceAsync {
	
	public void verifyConnection(JabberAccount conf, AsyncCallback<Boolean> call);
	
	public void verifySparqlEndpoint(RemoteSparqlEndpointConfiguration.SparqlEndpointConfigurationItem conf, AsyncCallback<Boolean> call);
	
	public void verifyRemoteResource(String location, AsyncCallback<Boolean> call) ;
	
	public void serializeConfig(AgentConfiguration conf, AsyncCallback<String> call);

}
